package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 主数据 - 科目
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-06-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_main_data_subject")
@ApiModel(value="MainDataSubject对象", description="主数据 - 科目")
public class MainDataSubject extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "科目编码")
    private String number;

    @ApiModelProperty(value = "科目名称")
    private String name;

    @ApiModelProperty(value = "赊额方向（0借 1贷）")
    private Integer type;

    @ApiModelProperty(value = "摘要")
    private String summary;

    @ApiModelProperty(value = "科目类型（1：团费，2：保险）")
    private Integer collectionType;

    @ApiModelProperty(value = "狀態（0：有效 1：無效）")
    private Integer status;

    private Long createId;

    private Long modifiedId;

    @ApiModelProperty(value = "是否删除(0：未删除 1：已删除)")
    private Integer isDeleted;


}
